package org.nepu.scr.indexrate.vo.drillingrate.jobarticulation;

import lombok.Data;
import org.nepu.scr.indexrate.converter.drillingrate.jobarticulation.JobInputConverter;

import javax.persistence.Column;
import javax.persistence.Convert;

@Data
public class HighAltitude {

    //安全带失效
    @Convert(converter = JobInputConverter.class)
    @Column(name = "safe_belt_invalid")
    JobInput safeBeltInvalid;

    //防坠落装置缺失或失效
    @Convert(converter = JobInputConverter.class)
    @Column(name = "drilling_platform_missing_or_invalid")
    JobInput drillingPlatformMissingOrInvalid;

    //未正确使用防火装置
    @Convert(converter = JobInputConverter.class)
    @Column(name = "fire_protection_device_not_used_correctly")
    JobInput fireProtectionDeviceNotUsedCorrectly;

    //工作状态不佳
    @Convert(converter = JobInputConverter.class)
    @Column(name = "working_condition_not_good")
    JobInput workingConditionNotGood;

    //违规操作
    @Convert(converter = JobInputConverter.class)
    @Column(name = "illegal_operation")
    JobInput illegalOperation;

    //底座结构失效
    @Convert(converter = JobInputConverter.class)
    @Column(name = "base_structure_invalid")
    JobInput baseStructureInvalid;

    //天车护栏缺失
    @Convert(converter = JobInputConverter.class)
    @Column(name = "tower_bar_missing")
    JobInput towerBarMissing;

    //大风
    @Convert(converter = JobInputConverter.class)
    @Column(name = "storm")
    JobInput storm;

    //雨雪
    @Convert(converter = JobInputConverter.class)
    @Column(name = "rain_snow")
    JobInput rainSnow;

    //地震
    @Convert(converter = JobInputConverter.class)
    @Column(name = "earthquake")
    JobInput earthquake;

    //操作规程不完善
    @Convert(converter = JobInputConverter.class)
    @Column(name = "operation_procedure_not_complete")
    JobInput operationProcedureNotComplete;

    //培训制度不完善
    @Convert(converter = JobInputConverter.class)
    @Column(name = "training_system_not_complete")
    JobInput trainingSystemNotComplete;

    //井架爬梯护笼缺失
    @Convert(converter = JobInputConverter.class)
    @Column(name = "platform_ladder_cover_missing")
    JobInput platformLadderCoverMissing;

    //井架结构失效
    @Convert(converter = JobInputConverter.class)
    @Column(name = "platform_structure_invalid")
    JobInput platformStructureInvalid;

    //工作平台滑
    @Convert(converter = JobInputConverter.class)
    @Column(name = "work_platform_slip")
    JobInput workPlatformSlip;

    //操作台结构缺陷
    @Convert(converter = JobInputConverter.class)
    @Column(name = "operation_table_defect")
    JobInput operationTableDefect;

    //二层台护栏缺失
    @Convert(converter = JobInputConverter.class)
    @Column(name = "second_floor_tower_bar_missing")
    JobInput secondFloorTowerBarMissing;
}
